home *** CD-ROM | disk | FTP | other *** search
- on(rollOver){
- if(_root.antstats[_root.gc_nest] >= parseInt(_root.antstats[_root.gc_pop] * _root.maxnestsize * 0.6))
- {
- this.good._visible = true;
- }
- else if(_root.antstats[_root.gc_nest] < parseInt(_root.antstats[_root.gc_pop] * _root.maxnestsize * 0.3))
- {
- this.bad._visible = true;
- }
- else
- {
- this.neutral._visible = true;
- }
- trace("nest = " + _root.antstats[_root.gc_nest] + " comparing to " + _root.antstats[_root.gc_pop] * _root.maxnestsize);
- }
-